package com.casic.ops.runner.pipeline.node;

import com.casic.ops.entity.dto.pipeline.datastructure.context.Result;
import com.casic.ops.entity.dto.pipeline.datastructure.executecontext.PipelineExecuteContext;

/**
 * 可执行节点接口定义
 * @author cww
 * @date 2022/6/20
 */
public interface ExecutableNode {
    Result execute(PipelineExecuteContext context,String nodeUuid);
    String getName();//节点名称必须和数据库节点对应
}
